﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Micua.Bootstrap
{
    public class BootstrapAjax<TModel> : Micua.Utility.Abstract.ClearObjectMember
    {
        /// <summary>
        /// AjaxHelper
        /// </summary>
        public AjaxHelper<TModel> Ajax { get; set; }
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="helper"></param>
        public BootstrapAjax(AjaxHelper<TModel> helper)
        {
            this.Ajax = helper;
        }


        #region 重写从Object继承的成员为IntelliSence不可见
        [EditorBrowsable(EditorBrowsableState.Never)]
        public override string ToString() { return null; }

        [EditorBrowsable(EditorBrowsableState.Never)]
        public override bool Equals(object obj) { return base.Equals(obj); }

        [EditorBrowsable(EditorBrowsableState.Never)]
        public override int GetHashCode() { return base.GetHashCode(); }

        [EditorBrowsable(EditorBrowsableState.Never)]
        public new Type GetType() { return base.GetType(); } 
        #endregion
    }
}
